package me.yobol.greentable.commons.path;

import javax.servlet.http.HttpServletRequest;

/**
 * @author Yobol
 * 
 * s : Servlet
 * p(page) : Html / Jsp
 * c : Css
 * j : JavaScript
 * r : resource
 *
 */
public class RPath {

	
	public static String IMG_FOLDER = "/res/imgs/";
	
	public static String getImgUrl(HttpServletRequest request , String imgName){
		return request.getContextPath() + IMG_FOLDER + imgName;
	}
}
